package org.dialMsg.Server.ServerInt;

import org.apache.ibatis.annotations.Param;
import org.dialMsg.Pojo.TDialResult;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author DPF
 */
@Service
public interface TDialResultInter {
    int setTDialResult(TDialResult tDialResult);

    List<TDialResult> queryIdByPhone(String phone);

    List<TDialResult> queryIdByPhoneAfter(Long lastMaxId, String phone);

    int updateHumanStatus(Long lastMaxId, TDialResult tDialResult);

    List<TDialResult> queryIdByPhoneAfter1(Long lastMaxId, String phone, int batchSize);
    Integer queryCurrentMaxId();
}
